obj=dbInit
CC = g++
CFLAG =	-fPIC -Wall -g3 -DLINUX -Wno-deprecated -D_DEBUG  `pkg-config --cflags --libs glib-2.0 gthread-2.0`

DLIB = -L/usr/local/lib -L/home/y/lib -lpq -lstdc++ -lglib-2.0 -lmysqlclient 

INC = -I/home/y/include  -I.  -I../../antx/antx  -I/usr/include -I/home/y/include/pgsql -I/home/y/include/mysql  -I../../cobweb  -I/usr/include/glib-2.0 -I/usr/include

all:
	$(CC) $(CFLAG) $(INC) $(DLIB) -o $(obj) dbInit.cc config.cc CobwebMql.cc
clean:
	rm -rf *.o $(obj) 
